//
//  LLLoadingView.m
//  TaoTuo
//
//  Created by LG on 2020/9/23.
//  Copyright © 2020 刘广. All rights reserved.
//

#import "LLLoadingView.h"

@interface LLLoadingView ()

@property (nonatomic, strong) UIImageView *imageView;

@end

@implementation LLLoadingView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self setupSubviews];
        
    }
    return self;
}


- (void)setupSubviews
{
    _imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"tao_nodata"]];
    _imageView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:_imageView];
    [_imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self);
    }];
    
}

@end
